home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 October / EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso / Aminet / gfx / show / svoUtah22.lha / svoUtahRLE / source / macros.h next >
C/C++ Source or Header  |  1995-04-14  |  495b  |  19 lines

  1.  
  2.  /* macros.h
  3.     - Include File for Handling Alien Graphic File Formats -
  4.     (c) 1993-94 by Andreas R. Kleinert
  5.     Last changes : 05.03.1994
  6.  */
  7.  
  8. #ifndef MACROS_H
  9. #define MACROS_H
  10.  
  11. #define ConvertWORD(x) ((x)<< 8 | (x)>> 8)
  12. #define ConvertLONG(x) (  (((x) & 0xff000000)>>24)   \
  13.                         | (((x) & 0x00ff0000)>>8)    \
  14.                         | (((x) & 0x0000ff00)<<8)    \
  15.                         | (((x) & 0x000000ff)<<24)   \
  16.                        )
  17.  
  18. #endif /* MACROS_H */
  19.